<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${! empty cartList }">
	<c:set var="totalPrict" value="0" />

	<c:forEach items="${cartList}" var="cart">
		<c:set var="totalPrict" value="${totalPrict+cart.marcketPrice*cart.orderCount }" />
		<tr>
			<td class="center"><input type="checkbox" /></td>
			<td class="center"><a href="product.html"><img src="${cart.productPicture }" style="width: 50px; height: 50px;" /></a></td>
			<td><a href="product.html">${cart.productName }</a></td>
			<td>
				<p>颜色：黑色</p>

				<p>规格：M码</p>
			</td>
			<td class="center"><span>$${cart.marcketPrice }</span></td>
			<td class="center"><input type="button" value="-" class="jj_btn" /> <input type="text" value="${cart.orderCount} " class="number" readonly /> <input type="button" value="+" class="jj_btn" /></td>
			<td class="center"><strong class="rmb_icon">$${cart.memberPrice }</strong></td>
			<td class="center"><a>删除</a></td>.

		</tr>
		
			<div class="order_btm_btn">
				<a href="index.html" class="link_btn_01 buy_btn" />继续购买</a> <a href="order_confirm.html" class="link_btn_02 add_btn" />共计金额<strong class="rmb_icon">${totalPrict}</strong>立即结算</a>
			</div>
		
	</c:forEach>



</c:if>